﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Model
{
    #region t_area
    /// <summary>
    /// 数据库 [ecreatenet] 中表 [dbo.t_area] 的实体类.
    /// </summary>
    /// 创 建 人: {在这里添加创建人}
    /// 创建日期: 2009-9-15
    /// 修 改 人: 
    /// 修改日期:
    /// 修改内容:
    /// 版    本: 1.0.0
    /// 	
    /// 
    [Serializable]
    public class t_area
    {
        private string areacode;

        private string areaname = String.Empty;
        private int arealevel;
        private string parentareacode = String.Empty;
        private string standardareacode = String.Empty;
        private string areashortname = String.Empty;
        private int useflag;
        private int lastflag;

        // Instantiate empty t_area for inserting
        public t_area() { }

        // Retrieve t_area with Id for updating
        public t_area(string AreaCode)
        {
            this.areacode = AreaCode;
        }

        #region Public Properties

        public string AreaCode
        {
            get { return areacode; }
            set { areacode = value; }
        }


        public string AreaName
        {
            get { return areaname; }
            set { areaname = value; }
        }

        public int AreaLevel
        {
            get { return arealevel; }
            set { arealevel = value; }
        }

        public string ParentAreacode
        {
            get { return parentareacode; }
            set { parentareacode = value; }
        }

        public string StandardAreaCode
        {
            get { return standardareacode; }
            set { standardareacode = value; }
        }

        public string AreaShortName
        {
            get { return areashortname; }
            set { areashortname = value; }
        }

        public int UseFlag
        {
            get { return useflag; }
            set { useflag = value; }
        }

        public int LastFlag
        {
            get { return lastflag; }
            set { lastflag = value; }
        }
        #endregion
    }
    #endregion
	


	

}
